package com.icetech.eom.controller.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * user vo
 * @author wangzw
 */
@Data
@ApiModel(value="用户添加/编辑", description="用户添加/编辑对象")
public class UserVo {

    private Long id;
    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "用户类型")
    private Integer userType;

    @ApiModelProperty(value = "手机号码")
    private String mobileNo;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "公司名称")
    private String compName;

    @ApiModelProperty(value = "短信校验码")
    private String vdSms;

    @ApiModelProperty(value = "校验时间")
    private Date vdTime;

    @ApiModelProperty(value = "手机IMEI")
    @TableField("IMEI")
    private String imei;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "排序号")
    private Integer orderNo;

    @ApiModelProperty(value = "是否可用 1 可用，0 不可用")
    private Boolean isEnabled;

    @ApiModelProperty(value = "系统标志 0表示非系统，1表示预装数据")
    private Boolean isSystem;

    @ApiModelProperty(value = "所属客户")
    private Long orgId;
    @ApiModelProperty(value = "所属开发者")
    private Long devPl;

    @ApiModelProperty(value = "用户拥有角色")
    private List<Long> roleIds;
}
